/**
 * @ClassName Test
 * @Description 字节码分析
 * @Author 李明忠
 * @Date 2025/5/15 9:02
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        int a = 10;
        int b = a;
    }
}
/*
* 字节码如下：
* Compiled from "Test.java"
* public class Test {
*   public Test();
*     Code:
*        0: aload_0
*        1: invokespecial #1                  // Method java/lang/Object."<init>":()V
*        4: return
*
*   public static void main(java.lang.String[]);
*     Code:
*        0: bipush        10
*        2: istore_1
*        3: iload_1
*        4: istore_2
*        5: return
* }
* */
